package com.ssm.service;

import com.ssm.entity.Emp;
import com.ssm.entity.PageResult;
import com.ssm.entity.QueryObject;

import java.util.List;

public interface EmpService {
    void save(Emp emp);
    void delete(Long id);
    void update(Emp emp);
    Emp sqlById(Long id);
    List<Emp> selAll ();
    /*分页方法*/
    PageResult<Emp> query(QueryObject queryObject);
}
